package com.ddstation.instrument_disinfect.mapper;

import com.ddstation.instrument_disinfect.model.DtInvsInstitutionUltravioletInstrumentModel;
import com.ddstation.instrument_disinfect.model.DtInvsUltravioletResModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtInvsInstitutionUltravioletInstrumentMapper {
    public List<DtInvsInstitutionUltravioletInstrumentModel> selectByInstitutionIdAndStatus(@Param("institutionId") String institutionId, @Param("status") Integer status);

    public DtInvsInstitutionUltravioletInstrumentModel selectOne(@Param("id") Integer id);

    public int insert(DtInvsInstitutionUltravioletInstrumentModel dtInvsInstitutionUltravioletInstrumentModel);

    public int updateSelective(DtInvsInstitutionUltravioletInstrumentModel dtInvsInstitutionUltravioletInstrumentModel);

    public List<DtInvsUltravioletResModel> getUltravioletInstitutionInfo(@Param("invsInstitutionId") String invsInstitutionId,
        @Param("institutionName") String institutionName, @Param("status") Integer status,@Param("institutionTypeFirst")String institutionTypeFirst);
}
